declare let eManager;
const { ccclass, property } = cc._decorator;
//9-2 向量
@ccclass
export default class XiangLian extends cc.Component {
    @property
    stepName = "";
    //项链
    @property(cc.Node)
    xiangLianNode: cc.Node = null;

    start() {
    };

    initData() {
        eManager.emit("HZ_SHOW_SELECT_LIST", {
            step: 9,
            point: 2,
            callback: () => {
                this.xiangLianNode.active = true;
                eManager.emit("DONE_STEP", 9);
                eManager.emit("HZ_MAKE_DOT", {
                    makeup_close:9,
                    makeup_step:this.stepName
                });
            }
        });
        this.xiangLianNode.active = true;
        eManager.emit("DONE_STEP", 9);
        eManager.emit("HZ_MAKE_DOT", {
            makeup_close:9,
            makeup_step:this.stepName
        });
        eManager.emit("REFRESH_STEP_NAME", this.stepName);
    };

}
